.rs-light-adcard {
  box-sizing: border-box;
  color: #145BC7;
  padding-top: 0.5rem;
  position: relative;
}
.rs-light-adcard a:hover {
  text-decoration: none;
}
.rs-light-adcard_main-link {
  box-shadow: 0 0.0625rem 0.125rem 0 rgba(102, 102, 100, 0.24);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}
.rs-light-adcard_main-link:hover {
  box-shadow: 0 0.125rem 0.5rem rgba(102, 102, 100, 0.24);
}
.rs-light-adcard_main-link img {
  display: block;
  width: 100%;
  min-height: 13.125rem;
}
.rs-light-adcard_main-link:visited .rs-light-adcard_title {
  color: #8F156A;
}
.rs-light-adcard_title,
.rs-light-adcard_properties {
  display: block;
}
.rs-light-adcard_title {
  align-self: flex-start;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
  width: 100%;
  margin-bottom: 1rem;
}
.rs-light-adcard_title:hover {
  text-decoration: underline;
}
.rs-light-adcard_info {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
  max-height: 9.125rem;
  background-color: #fff;
}
@media screen and (min-width: 48rem) {
  .rs-light-adcard_info {
    padding: 1rem 1.5rem;
  }
}
.rs-light-adcard_info [role="region"] {
  margin-bottom: 0;
}
.rs-light-adcard_company-link {
  border: solid 1px #cbccc7;
  position: absolute;
  right: 0.5rem;
  top: -0.5rem;
}
.rs-light-adcard_company-link figure {
  height: 2.25rem;
  width: 5.5rem;
}
.rs-light-adcard_company-link img {
  display: block;
  width: 100%;
  height: 100%;
}
.rs-light-adcard ins,
.rs-light-adcard_properties {
  color: #141414;
}
.rs-light-adcard del,
.rs-light-adcard .icon-pricedown {
  color: #d62f2f;
  font-size: 0.875rem;
}
.rs-light-adcard del::before,
.rs-light-adcard .icon-pricedown::before {
  color: #d62f2f;
  font-family: 'idealista-icons';
}
.rs-light-adcard ins {
  text-decoration: none;
}
.rs-light-adcard ins strong {
  font-size: 1.375rem;
  padding-right: 0.5rem;
}
.rs-light-adcard del {
  margin-left: 0.5rem;
}
.rs-light-adcard_properties [role="listitem"] {
  margin-right: 0.5rem;
}
.rs-light-adcard_properties [role="listitem"]:nth-child(3) {
  margin-right: 0;
}
@media screen and (min-width: 48rem) {
  .rs-light-adcard.large {
    padding-top: 0;
  }
  .rs-light-adcard.large .rs-light-adcard_main-link img {
    height: 33.75rem;
  }
  .rs-light-adcard.large .rs-light-adcard_company-link {
    bottom: 3.5rem;
    top: inherit;
    right: 1.5rem;
  }
  .rs-light-adcard.large .rs-light-adcard_company-link figure {
    height: 3.5rem;
    width: 8.25rem;
  }
  .rs-light-adcard.large .rs-light-adcard_company-link + .rs-light-adcard_main-link .rs-light-adcard_title {
    width: calc(100% - 9.5rem);
  }
  .rs-light-adcard.large .rs-light-adcard_title {
    height: 1.5rem;
  }
  .rs-light-adcard.large .rs-light-adcard_info {
    padding: 1.5rem;
    max-height: 8.875rem;
  }
  .rs-light-adcard.large .rs-light-adcard .rs-light-adcard_properties {
    margin-top: 0.5rem;
  }
}
@media screen and (min-width: 48rem) and screen and (min-width: 48rem) {
  .rs-light-adcard.large .rs-light-adcard_main-link img {
    width: auto;
    margin: 0 auto;
  }
}
@media screen and (min-width: 48rem) and screen and (min-width: 62rem) {
  .rs-light-adcard.large .rs-light-adcard_main-link img {
    max-height: 62vh;
  }
}
.detail-with-suggestions-title {
  font-size: 1.5625rem;
  line-height: 1.875rem;
  letter-spacing: -0.4px;
  text-align: center;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 0;
}
@media screen and (min-width: 48rem) {
  .detail-with-suggestions-title {
    font-size: 2rem;
    line-height: 2.25rem;
    margin-bottom: 2rem;
    margin-top: 2.5rem;
  }
}
@media screen and (min-width: 62rem) {
  .detail-with-suggestions-title {
    margin-bottom: 2.5rem;
    margin-top: 4rem;
  }
}
.detail-with-suggestions .rs-light-adcard {
  margin-top: 1.5rem;
}
@media screen and (min-width: 48rem) {
  .detail-with-suggestions .rs-light-adcard {
    background-color: #fff;
    margin-top: 2rem;
  }
}
.detail-with-suggestions .rs-light-adcard:first-of-type {
  margin-top: 0;
}
.detail-with-suggestions .rs-light-adcard:last-of-type {
  margin-bottom: 0;
}
.detail-with-suggestions .rs-light-adcard.large {
  padding-top: 0;
}
@media screen and (min-width: 48rem) {
  .detail-with-suggestions .rs-light-adcard_title {
    -webkit-line-clamp: 1;
  }
}
.detail-with-suggestions .rs-light-adcard span[role="region"] {
  max-width: 100%;
  min-width: 9.5625rem;
}
.detail-with-suggestions .rs-light-adcard_properties {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media screen and (min-width: 48rem) {
  .detail-with-suggestions .rs-light-adcard_properties {
    overflow: inherit;
    text-overflow: inherit;
  }
}
.detail-with-suggestions .rs-light-adcard .icon-pricedown::before {
  font-family: 'idealista-regular';
}
.detail-with-suggestions .rs-light-adcard_image {
  align-items: center;
  display: flex;
  height: calc((100vw - 2rem)*0.75);
  justify-content: center;
  overflow: hidden;
}
@media screen and (min-width: 62rem) {
  .detail-with-suggestions .rs-light-adcard_image {
    height: 30.375rem;
  }
}
@media screen and (min-width: 75rem) {
  .detail-with-suggestions .rs-light-adcard_image {
    height: 34.875rem;
  }
}
.detail-with-suggestions .rs-light-adcard_main-link .rs-light-adcard_image img {
  object-fit: cover;
  min-height: unset;
  height: 100%;
  width: 100%;
}
@media screen and (min-width: 62rem) {
  .detail-with-suggestions .rs-light-adcard_main-link .rs-light-adcard_image img {
    width: auto;
  }
}

